package com.project.common;

/**
 * 前台ztree对象
 * @author
 */
public class TreeNode {
	
	private String id;  
	private String pId;  
	private String name;  
	private boolean checked;  
	private boolean open;
	private boolean chkDisabled;
	private String code;
	private String departmentCode;
	
	public TreeNode(){}
	
	public TreeNode(String id, String pId, String name, boolean checked, boolean open,boolean chkDisabled,String code) {  
		 super();  
		 this.id = id;  
		 this.pId = pId;  
		 this.name = name;  
		 this.checked = checked;  
		 this.open = open; 
		 this.code = code;
	}  

	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getpId() {
		return pId;
	}
	public void setpId(String pId) {
		this.pId = pId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Boolean getChecked() {
		return checked;
	}
	public void setChecked(Boolean checked) {
		this.checked = checked;
	}
	public Boolean getOpen() {
		return open;
	}
	public void setOpen(Boolean open) {
		this.open = open;
	}

	public boolean isChkDisabled() {
		return chkDisabled;
	}

	public void setChkDisabled(boolean chkDisabled) {
		this.chkDisabled = chkDisabled;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public void setOpen(boolean open) {
		this.open = open;
	}

	public String getDepartmentCode() {
		return departmentCode;
	}

	public void setDepartmentCode(String departmentCode) {
		this.departmentCode = departmentCode;
	}  

}
